package com.ruoyi.xp.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 虾皮订单收入信息对象 t_xp_order_income
 * 
 * @author chdx
 * @date 2022-12-04
 */
public class OrderIncome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表的id */
    private Long orderIncomeId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderSn;

    /** 代管金额 */
    @Excel(name = "代管金额")
    private BigDecimal escrowAmount;

    /** 买家支付金额 */
    @Excel(name = "买家支付金额")
    private BigDecimal buyerTotalAmount;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal originalPrice;

    /** 卖家折扣金额 */
    @Excel(name = "卖家折扣金额")
    private BigDecimal sellerDiscount;

    /** 平台折扣金额 */
    @Excel(name = "平台折扣金额")
    private BigDecimal shopeeDiscount;

    /** 卖家优惠券金额 */
    @Excel(name = "卖家优惠券金额")
    private BigDecimal voucherFromSeller;

    /** 平台优惠券金额 */
    @Excel(name = "平台优惠券金额")
    private BigDecimal voucherFromShopee;

    /** 虾皮币金额 */
    @Excel(name = "虾皮币金额")
    private BigDecimal coins;

    /** 买家支付运费 */
    @Excel(name = "买家支付运费")
    private BigDecimal buyerPaidShippingFee;

    /** 买家交易手续费 */
    @Excel(name = "买家交易手续费")
    private BigDecimal buyerTransactionFee;

    /** 跨境税收 */
    @Excel(name = "跨境税收")
    private BigDecimal crossBorderTax;

    /** 促销抵消金额 */
    @Excel(name = "促销抵消金额")
    private BigDecimal paymentPromotion;

    /** 平台佣金 */
    @Excel(name = "平台佣金")
    private BigDecimal commissionFee;

    /** 服务费 */
    @Excel(name = "服务费")
    private BigDecimal serviceFee;

    /** 卖家交易手续费 */
    @Excel(name = "卖家交易手续费")
    private BigDecimal sellerTransactionFee;

    /** 卖家返现虾皮币 */
    @Excel(name = "卖家返现虾皮币")
    private BigDecimal sellerCoinCashBack;

    /** 代收税收 */
    @Excel(name = "代收税收")
    private BigDecimal escrowTax;

    /** 最终运费（调整金额） */
    @Excel(name = "最终运费", readConverterExp = "调=整金额")
    private BigDecimal finalShippingFee;

    /** 实际运费 */
    @Excel(name = "实际运费")
    private BigDecimal actualShippingFee;

    /** 订单重量 */
    @Excel(name = "订单重量")
    private Long orderChargeableWeight;

    /** 平台运费补贴 */
    @Excel(name = "平台运费补贴")
    private BigDecimal shopeeShippingRebate;

    /** 第三方运费折扣 */
    @Excel(name = "第三方运费折扣")
    private BigDecimal shippingFeeDiscountFrom3pl;

    /** 卖家运费补贴 */
    @Excel(name = "卖家运费补贴")
    private BigDecimal sellerShippingDiscount;

    /** 预估运费 */
    @Excel(name = "预估运费")
    private BigDecimal estimatedShippingFee;

    /** 卖家优惠券编码 */
    @Excel(name = "卖家优惠券编码")
    private String sellerVoucherCode;

    /** Shopee争议解决中心的可调整退款金额 */
    @Excel(name = "Shopee争议解决中心的可调整退款金额")
    private BigDecimal drcAdjustableRefund;

    /** 买方为特定订单中的项目支付的最终金额 */
    @Excel(name = "买方为特定订单中的项目支付的最终金额")
    private BigDecimal costOfGoodsSold;

    /** 特定订单中每个项目的Shopee折扣的总和 */
    @Excel(name = "特定订单中每个项目的Shopee折扣的总和")
    private BigDecimal originalCostOfGoodsSold;

    /** 部分退还时退还给卖方的金额 */
    @Excel(name = "部分退还时退还给卖方的金额")
    private BigDecimal sellerReturnRefund;

    /** 卖家预计收到金额 */
    @Excel(name = "卖家预计收到金额")
    private BigDecimal escrowAmountPrice;

    /** 信用卡活动金额 */
    @Excel(name = "信用卡活动金额")
    private BigDecimal creditCardPromotion;

    /** 信用卡交易手续费 */
    @Excel(name = "信用卡交易手续费")
    private BigDecimal creditCardTransactionFee;

    /** 订单采购价 */
    @Excel(name = "订单采购价")
    private BigDecimal purchasePrice;

    /** 打包费用 */
    @Excel(name = "打包费用")
    private BigDecimal warehousePackageAmount;

    /** 订单利润 */
    @Excel(name = "订单利润")
    private BigDecimal orderProfit;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private Long lastUpdateBy;

    public void setOrderIncomeId(Long orderIncomeId) 
    {
        this.orderIncomeId = orderIncomeId;
    }

    public Long getOrderIncomeId() 
    {
        return orderIncomeId;
    }
    public void setOrderSn(String orderSn) 
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn() 
    {
        return orderSn;
    }
    public void setEscrowAmount(BigDecimal escrowAmount) 
    {
        this.escrowAmount = escrowAmount;
    }

    public BigDecimal getEscrowAmount() 
    {
        return escrowAmount;
    }
    public void setBuyerTotalAmount(BigDecimal buyerTotalAmount) 
    {
        this.buyerTotalAmount = buyerTotalAmount;
    }

    public BigDecimal getBuyerTotalAmount() 
    {
        return buyerTotalAmount;
    }
    public void setOriginalPrice(BigDecimal originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setSellerDiscount(BigDecimal sellerDiscount) 
    {
        this.sellerDiscount = sellerDiscount;
    }

    public BigDecimal getSellerDiscount() 
    {
        return sellerDiscount;
    }
    public void setShopeeDiscount(BigDecimal shopeeDiscount) 
    {
        this.shopeeDiscount = shopeeDiscount;
    }

    public BigDecimal getShopeeDiscount() 
    {
        return shopeeDiscount;
    }
    public void setVoucherFromSeller(BigDecimal voucherFromSeller) 
    {
        this.voucherFromSeller = voucherFromSeller;
    }

    public BigDecimal getVoucherFromSeller() 
    {
        return voucherFromSeller;
    }
    public void setVoucherFromShopee(BigDecimal voucherFromShopee) 
    {
        this.voucherFromShopee = voucherFromShopee;
    }

    public BigDecimal getVoucherFromShopee() 
    {
        return voucherFromShopee;
    }
    public void setCoins(BigDecimal coins) 
    {
        this.coins = coins;
    }

    public BigDecimal getCoins() 
    {
        return coins;
    }
    public void setBuyerPaidShippingFee(BigDecimal buyerPaidShippingFee) 
    {
        this.buyerPaidShippingFee = buyerPaidShippingFee;
    }

    public BigDecimal getBuyerPaidShippingFee() 
    {
        return buyerPaidShippingFee;
    }
    public void setBuyerTransactionFee(BigDecimal buyerTransactionFee) 
    {
        this.buyerTransactionFee = buyerTransactionFee;
    }

    public BigDecimal getBuyerTransactionFee() 
    {
        return buyerTransactionFee;
    }
    public void setCrossBorderTax(BigDecimal crossBorderTax) 
    {
        this.crossBorderTax = crossBorderTax;
    }

    public BigDecimal getCrossBorderTax() 
    {
        return crossBorderTax;
    }
    public void setPaymentPromotion(BigDecimal paymentPromotion) 
    {
        this.paymentPromotion = paymentPromotion;
    }

    public BigDecimal getPaymentPromotion() 
    {
        return paymentPromotion;
    }
    public void setCommissionFee(BigDecimal commissionFee) 
    {
        this.commissionFee = commissionFee;
    }

    public BigDecimal getCommissionFee() 
    {
        return commissionFee;
    }
    public void setServiceFee(BigDecimal serviceFee) 
    {
        this.serviceFee = serviceFee;
    }

    public BigDecimal getServiceFee() 
    {
        return serviceFee;
    }
    public void setSellerTransactionFee(BigDecimal sellerTransactionFee) 
    {
        this.sellerTransactionFee = sellerTransactionFee;
    }

    public BigDecimal getSellerTransactionFee() 
    {
        return sellerTransactionFee;
    }
    public void setSellerCoinCashBack(BigDecimal sellerCoinCashBack) 
    {
        this.sellerCoinCashBack = sellerCoinCashBack;
    }

    public BigDecimal getSellerCoinCashBack() 
    {
        return sellerCoinCashBack;
    }
    public void setEscrowTax(BigDecimal escrowTax) 
    {
        this.escrowTax = escrowTax;
    }

    public BigDecimal getEscrowTax() 
    {
        return escrowTax;
    }
    public void setFinalShippingFee(BigDecimal finalShippingFee) 
    {
        this.finalShippingFee = finalShippingFee;
    }

    public BigDecimal getFinalShippingFee() 
    {
        return finalShippingFee;
    }
    public void setActualShippingFee(BigDecimal actualShippingFee) 
    {
        this.actualShippingFee = actualShippingFee;
    }

    public BigDecimal getActualShippingFee() 
    {
        return actualShippingFee;
    }
    public void setOrderChargeableWeight(Long orderChargeableWeight) 
    {
        this.orderChargeableWeight = orderChargeableWeight;
    }

    public Long getOrderChargeableWeight() 
    {
        return orderChargeableWeight;
    }
    public void setShopeeShippingRebate(BigDecimal shopeeShippingRebate) 
    {
        this.shopeeShippingRebate = shopeeShippingRebate;
    }

    public BigDecimal getShopeeShippingRebate() 
    {
        return shopeeShippingRebate;
    }
    public void setShippingFeeDiscountFrom3pl(BigDecimal shippingFeeDiscountFrom3pl) 
    {
        this.shippingFeeDiscountFrom3pl = shippingFeeDiscountFrom3pl;
    }

    public BigDecimal getShippingFeeDiscountFrom3pl() 
    {
        return shippingFeeDiscountFrom3pl;
    }
    public void setSellerShippingDiscount(BigDecimal sellerShippingDiscount) 
    {
        this.sellerShippingDiscount = sellerShippingDiscount;
    }

    public BigDecimal getSellerShippingDiscount() 
    {
        return sellerShippingDiscount;
    }
    public void setEstimatedShippingFee(BigDecimal estimatedShippingFee) 
    {
        this.estimatedShippingFee = estimatedShippingFee;
    }

    public BigDecimal getEstimatedShippingFee() 
    {
        return estimatedShippingFee;
    }
    public void setSellerVoucherCode(String sellerVoucherCode) 
    {
        this.sellerVoucherCode = sellerVoucherCode;
    }

    public String getSellerVoucherCode() 
    {
        return sellerVoucherCode;
    }
    public void setDrcAdjustableRefund(BigDecimal drcAdjustableRefund) 
    {
        this.drcAdjustableRefund = drcAdjustableRefund;
    }

    public BigDecimal getDrcAdjustableRefund() 
    {
        return drcAdjustableRefund;
    }
    public void setCostOfGoodsSold(BigDecimal costOfGoodsSold) 
    {
        this.costOfGoodsSold = costOfGoodsSold;
    }

    public BigDecimal getCostOfGoodsSold() 
    {
        return costOfGoodsSold;
    }
    public void setOriginalCostOfGoodsSold(BigDecimal originalCostOfGoodsSold) 
    {
        this.originalCostOfGoodsSold = originalCostOfGoodsSold;
    }

    public BigDecimal getOriginalCostOfGoodsSold() 
    {
        return originalCostOfGoodsSold;
    }
    public void setSellerReturnRefund(BigDecimal sellerReturnRefund) 
    {
        this.sellerReturnRefund = sellerReturnRefund;
    }

    public BigDecimal getSellerReturnRefund() 
    {
        return sellerReturnRefund;
    }
    public void setEscrowAmountPrice(BigDecimal escrowAmountPrice) 
    {
        this.escrowAmountPrice = escrowAmountPrice;
    }

    public BigDecimal getEscrowAmountPrice() 
    {
        return escrowAmountPrice;
    }
    public void setCreditCardPromotion(BigDecimal creditCardPromotion) 
    {
        this.creditCardPromotion = creditCardPromotion;
    }

    public BigDecimal getCreditCardPromotion() 
    {
        return creditCardPromotion;
    }
    public void setCreditCardTransactionFee(BigDecimal creditCardTransactionFee) 
    {
        this.creditCardTransactionFee = creditCardTransactionFee;
    }

    public BigDecimal getCreditCardTransactionFee() 
    {
        return creditCardTransactionFee;
    }
    public void setPurchasePrice(BigDecimal purchasePrice) 
    {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getPurchasePrice() 
    {
        return purchasePrice;
    }
    public void setWarehousePackageAmount(BigDecimal warehousePackageAmount) 
    {
        this.warehousePackageAmount = warehousePackageAmount;
    }

    public BigDecimal getWarehousePackageAmount() 
    {
        return warehousePackageAmount;
    }
    public void setOrderProfit(BigDecimal orderProfit) 
    {
        this.orderProfit = orderProfit;
    }

    public BigDecimal getOrderProfit() 
    {
        return orderProfit;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate) 
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate() 
    {
        return lastUpdateDate;
    }
    public void setLastUpdateBy(Long lastUpdateBy) 
    {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Long getLastUpdateBy() 
    {
        return lastUpdateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderIncomeId", getOrderIncomeId())
            .append("orderSn", getOrderSn())
            .append("escrowAmount", getEscrowAmount())
            .append("buyerTotalAmount", getBuyerTotalAmount())
            .append("originalPrice", getOriginalPrice())
            .append("sellerDiscount", getSellerDiscount())
            .append("shopeeDiscount", getShopeeDiscount())
            .append("voucherFromSeller", getVoucherFromSeller())
            .append("voucherFromShopee", getVoucherFromShopee())
            .append("coins", getCoins())
            .append("buyerPaidShippingFee", getBuyerPaidShippingFee())
            .append("buyerTransactionFee", getBuyerTransactionFee())
            .append("crossBorderTax", getCrossBorderTax())
            .append("paymentPromotion", getPaymentPromotion())
            .append("commissionFee", getCommissionFee())
            .append("serviceFee", getServiceFee())
            .append("sellerTransactionFee", getSellerTransactionFee())
            .append("sellerCoinCashBack", getSellerCoinCashBack())
            .append("escrowTax", getEscrowTax())
            .append("finalShippingFee", getFinalShippingFee())
            .append("actualShippingFee", getActualShippingFee())
            .append("orderChargeableWeight", getOrderChargeableWeight())
            .append("shopeeShippingRebate", getShopeeShippingRebate())
            .append("shippingFeeDiscountFrom3pl", getShippingFeeDiscountFrom3pl())
            .append("sellerShippingDiscount", getSellerShippingDiscount())
            .append("estimatedShippingFee", getEstimatedShippingFee())
            .append("sellerVoucherCode", getSellerVoucherCode())
            .append("drcAdjustableRefund", getDrcAdjustableRefund())
            .append("costOfGoodsSold", getCostOfGoodsSold())
            .append("originalCostOfGoodsSold", getOriginalCostOfGoodsSold())
            .append("sellerReturnRefund", getSellerReturnRefund())
            .append("escrowAmountPrice", getEscrowAmountPrice())
            .append("creditCardPromotion", getCreditCardPromotion())
            .append("creditCardTransactionFee", getCreditCardTransactionFee())
            .append("purchasePrice", getPurchasePrice())
            .append("warehousePackageAmount", getWarehousePackageAmount())
            .append("orderProfit", getOrderProfit())
            .append("createDate", getCreateDate())
            .append("createBy", getCreateBy())
            .append("lastUpdateDate", getLastUpdateDate())
            .append("lastUpdateBy", getLastUpdateBy())
            .toString();
    }
}
